//
//  JCHATSendMessageViewController.h
//  JPush IM
//
//  Created by Apple on 14/12/26.
//  Copyright (c) 2014年 Apple. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JCHATToolBar.h"
#import "JCHATChatModel.h"
#import <JMessage/JMessage.h>

@interface JCHATSendMessageViewController : UIViewController <
    UITableViewDataSource,
    UITableViewDelegate,
    SendMessageDelegate,
    UIGestureRecognizerDelegate>

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *msgTableBottomToToolBar;
@property (weak, nonatomic) IBOutlet UITableView *messageTableView;
@property (weak, nonatomic) IBOutlet JCHATToolBarContainer *toolBarContainer;

@property (weak, nonatomic) IBOutlet NSLayoutConstraint *toolBarToBottomConstrait;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *moreViewHeight;
@property (nonatomic, assign) JPIMInputViewType textViewInputViewType;
@property (assign, nonatomic) BOOL barBottomFlag;
@property (strong, nonatomic) JMSGConversation *conversation;
@property (strong, nonatomic) NSString *targetName;
@property (strong, nonatomic) JMSGUser *user;


@property(nonatomic, assign) CGFloat previousTextViewContentHeight; //记录旧的textView contentSize Heigth

@end
